import axios from "~/axios.js"

// 登录
export function login(username, password) {
	return axios.post("/admin/login", {
		username: username,
		password: password
	})
}

// 获取用户信息
export function getInfo() {
	return axios.post("/admin/getinfo")
}
